package com.sample.springbatch.job.config;

import com.sample.springbatch.job.listener.MyJobListener;
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
import org.springframework.batch.core.configuration.annotation.StepBuilderFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

/**
 * 作业基础配置类  配置公共部分的载入
 * Created by zwg on 2017/8/24.
 */
public class BaseConfig {

    @Autowired
    protected JobBuilderFactory jobBuilderFactory;

    @Autowired
    protected StepBuilderFactory stepBuilderFactory;

    @Autowired
    protected MyJobListener myJobListener;


}
